import request from '@/utils/request'
// -------- 日历 --------

let BASE_ADDRESS = 'work/calendar'

//  分页查询
export function getCalendarListApi(params) {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}

//  分页查询
export function getCalendarEditApi(data) {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: "put",
        data
    })
}

//  分页查询
export function getCalendarAddApi(data) {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: "post",
        data
    })
}
